﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FlickrXplorer.Web.Plugin;
using FlickrXplorer.Web.Objects;

namespace MyFlickrXplorerPlugins
{
  public class AdvertPlugin : SidebarPlugin
  {
    public AdvertPlugin()
      : base("Advertisements")
    {
    }

    protected override void OnLoad(PhotoData photoData)
    {
      this.Title = "Advertisement";
      this.Body = "Special offers for <em>" + photoData.Photos[0].Title + "</em> at <a href='#'>junglebooks.com!</a>";
    }
  }
}
